import {mock, Random} from 'mockjs'


const data = mock({
    'list|10': [{
        'id|+1': 1,
        name: Random.cname(),
        city: Random.city(true)
    }]
})


export default [{
    url: "/api/get",
    method: "get",
    response: () => {
        return {
            code: 200,
            msg: 'success',
            data: data
        }
    }
}]
